//
//  AddMemberViewController.h
//  ShoppingExperience
//
//  Created by LiYinDi on 15/9/27.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZJSwitch.h"
@protocol AddMemberDelegate;
@interface AddMemberViewController : UIViewController
@property(nonatomic,weak) id<AddMemberDelegate> delegate;
@property(nonatomic)NSTimer *timer;
@property(nonatomic,strong) NSString *addOrEditStr;
@property(nonatomic,strong) NSString *userCodeStr;
@property(nonatomic,strong) NSString *docNumStr;
@property(weak, nonatomic)IBOutlet UIView *addTagView;
@property(weak, nonatomic)IBOutlet UITextView *addRemarkTextView;
@property(weak, nonatomic)IBOutlet UIImageView *addTextviewImage;
@property(weak, nonatomic)IBOutlet UILabel *addTextviewLabel;
@property(weak, nonatomic)IBOutlet UIButton *addMemberAlphaView;
@property(weak, nonatomic)IBOutlet UIButton *addBarCodeBtn;
@property(weak, nonatomic)IBOutlet UIButton *addSelectGuideBtn;
@property(weak, nonatomic)IBOutlet UIView *addGuideListViewContainer;
@property(weak, nonatomic)IBOutlet UIImageView *addGuideListArrowImage;
@property(weak, nonatomic)IBOutlet UILabel *addGuideNameLabel;
@property(weak, nonatomic)IBOutlet UIView *addScanViewContainer;
@property(weak, nonatomic)IBOutlet UIButton *addScanButton;
@property(weak, nonatomic)IBOutlet UITableView *addGuideListTableView;
@property(weak, nonatomic)IBOutlet UITextField *addBarcodeTextField;


@property(weak, nonatomic)IBOutlet UIView *addAreaContainer;
@property(weak, nonatomic)IBOutlet UIView *addAreaView;
@property(weak, nonatomic)IBOutlet UITextField *addAreaTextField;
@property(weak, nonatomic)IBOutlet UITextField *addAddressTextField;

@property(weak, nonatomic)IBOutlet UITextField *memberGradeTextField;
@property(weak, nonatomic)IBOutlet UIView *addMemberMainView;
@property(weak, nonatomic)IBOutlet UILabel *memberGradeLineLabel;

@property(weak, nonatomic)IBOutlet UIView *memberBirthViewContainer;
@property(weak, nonatomic)IBOutlet UITextField *memberBirthTextField;
@property(weak, nonatomic)IBOutlet UIDatePicker *memberBirthDatePicker;

@property(weak, nonatomic)IBOutlet UITextField *addPhoneTextField;
@property(weak, nonatomic)IBOutlet UITextField *addNameTextField;
@property(weak, nonatomic)IBOutlet ZJSwitch *switch1;
@property(weak, nonatomic)IBOutlet UIImageView *barcodeImageView;

@property(weak, nonatomic)IBOutlet UIButton *selectMemberButton;
@end
@protocol AddMemberDelegate <NSObject>
@optional

-(void)addOrEditMemberSuccess:(NSString *)memberCodeString memberGradeString:(NSString *)memberGradeString memberNameString:(NSString *)memberNameString memberPhoneString:(NSString *)memberPhoneString memberSexString:(NSString *)memberSexString memberIntegralString:(NSString *)memberIntegralString;
-(void)commonSelectMemberBtnClick;

@end

